home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 52 / Amiga Format AFCD52 (Issue 136, May 2000).iso / -serious- / programming / basic / mildred / mildred.lha / lha / Internal.lha / Internal.txt
Text File  |  1999-03-23  |  9KB  |  159 lines

  1.  ._Data
  2. ;000
  3. GeneralCPUmode: Dc.b 0 ; 0=000-030, 1=040-060 max cpu allowed to use with regards 040+ instructions such as move16
  4. SpecificCPUmode:Dc.b 0 ; 0=000, 1=010, 2=020, 3=030, 4=040, 6=060 minimum cpu that is available
  5. ;002
  6. Autoc2pWindowsUse: Dc.b 1 ; Automatically use new c2pWindows? 0=No, <>0=Yes
  7. c2pCPUmode:     Dc.b 1 ; 0=000-030, 1=040-060 c2p routine to use
  8. ;004
  9. LongwordStore:  Dc.l 0 ; Temporary storage place to put a longword (any, ie if not enough regs)
  10. ;008
  11. c2p_Rows:       Dc.w 0 ; Temporary
  12. c2p_RowsStore:  Dc.w 0 ; Temporary
  13. c2p_Pmod:       Dc.w 0 ; Temporary
  14. c2p_Cmod:       Dc.w 0 ; Temporary
  15. c2p_Pixels:     Dc.l 0 ; Temporary
  16. ;020
  17. c2pWindowsMem:  Dc.l 0 ; Pointer to mem reserved for c2pWindow structures
  18. c2pWindowsTotal:Dc.w 0 ; Total number of c2p windows (do -1 for highest)
  19. ;026
  20. Currentc2pWindows:
  21. Currentc2pWindow1: Dc.w -1 ; Number of current c2pWindow
  22. Currentc2pWindow2: Dc.w -1 ; Number of second current c2pWindow
  23. Currentc2pWindow3: Dc.w -1 ; Number of third current c2pWindow
  24. ;032
  25. ;c2pWindow structure, 8 bytes
  26. c2pWindows
  27. c2p0_Pixels:    Dc.w 0 ;0 Number of pixels per row, or total number of pixels.l if no modulo
  28. c2p0_RowsStore: Dc.w 0 ;2 Row counter. Pixels and RowStore need to make a longword (Pixels.l) and thus are consequtive
  29. c2p0_Pmod:      Dc.w 0 ;4 Planar line modulo
  30. c2p0_Cmod:      Dc.w 0 ;6 Chunky line modulo
  31. ;040
  32.   Dc.l 0 ; Spare
  33. ;044
  34.   Dc.l 0 ; Spare
  35. ;048
  36. CShape_AutoCookie:   Dc.b 0 ; AutoCookie status for shapes. 0=None, <>0 =ByteForByte
  37. CBitmap_AutoStencil: Dc.b 0 ; AutoStencil status for bitmaps. 0=None, <>0 =ByteForByte
  38. CShape_AutoClip:     Dc.b 0 ; AutoClip status for shapes. 0=Off, <>0=On
  39. CBitmap_AutoClip:    Dc.b 0 ; AutoClip status for bitmaps. 0=Off, <>0=On
  40. ;052
  41. CShape_AutoWrap:  Dc.b 0 ; AutoWrap status for shapes. 0=Off, <>0=On automatic handle wrapping
  42. CBitmap_AutoWrap: Dc.b 0 ; AutoWrap status for bitmaps. 0=Off, <>0=On automatic handle wrapping
  43. ;054
  44. CCookie_AutoXFlip:  Dc.b -1 ; Automatic flipping of cookies when flipping shapes horizontally
  45. CCookie_AutoYFlip:  Dc.b -1 ; Automatic flipping of cookies when flipping shapes vertically
  46. CStencil_AutoXFlip: Dc.b -1 ; Automatic flipping of stencils when flipping bitmaps horizontally
  47. CStencil_AutoYFlip: Dc.b -1 ; Automatic flipping of stencils when flipping bitmaps vertically
  48. ;058
  49. CurrentCShapes:
  50. CurrentChunkyShape1: Dc.w -1 ; Number of current ChunkyShape
  51. CurrentChunkyShape2: Dc.w -1 ; Number of second current ChunkyShape
  52. CurrentChunkyShape3: Dc.w -1 ; Number of third current ChunkyShape
  53. ;064
  54. CurrentCBitmaps:
  55. CurrentChunkyBitmap1:Dc.w -1 ; Number of current ChunkyBitmap
  56. CurrentChunkyBitmap2:Dc.w -1 ; Number of second current ChunkyBitmap
  57. CurrentChunkyBitmap3:Dc.w -1 ; Number of thid current ChunkyBitmap
  58. ;070
  59. ChunkyShapesTotal: Dc.w 0 ; Total number of ChunkyShapes (do -1 for highest)
  60. ChunkyShapesMem:   Dc.l 0 ; Pointer to mem reserved for ChunkyShape structures
  61. ChunkyBitmapsMem:  Dc.l 0 ; Pointer to mem reserved for ChunkyBitmap structures
  62. ChunkyBitmapsTotal:Dc.w 0 ; Total number of ChunkyBitmaps (do -1 for highest)
  63. ;082
  64. CurrentChunkyShapeBank: Dc.w 0 ; Current Shape bank, 0 as default
  65. ;084
  66. AutoChunkyShapesUse:  Dc.b 1 ; Automatically use new ChunkyShapes? 0=No, <>0=Yes
  67. AutoChunkyBitmapsUse: Dc.b 1 ; Automatically use new ChunkyBitmaps? 0=No, <>0=Yes
  68. ;086
  69. _DoubleQBlitModeType:Dc.w 0 ; Type of blit that DoubleQBlit does. 0=Cookie,1=Erase,2=Inv,3=Solid,4=MColourMode,5=MReMapMode,6
  70. _DoubleBlitModeType: Dc.w 0 ; Type of blit that DoubleBlit does. 0=Cookie,1=Erase,2=Inv,3=Solid,4=MColourMode,5=MReMapMode,6
  71. _QBlitModeType:    Dc.w 0 ; Type of blit that QBlit does. 0=Cookie,1=Erase,2=Inv,3=Solid,4=MColourMode,5=MReMapMode,6
  72. _BlitModeType:     Dc.w 0 ; Type of blit that Blit does. 0=Cookie,1=Erase,2=Inv,3=Solid,4=MColourMode,5=MReMapMode,6
  73. _ParticleModeType: Dc.w 4 ; Type of blit that particle routines plot/draw do. 4=MColourMode,5=MReMapMode,6=MSimpleReMapMode
  74. SScrollModeType:   Dc.w 0 ; Type of blit that SScroll and CScroll do. 0=Cookie,1=Erase,2=InvMode,3=SolidMode,4=MColourMode
  75. SMaskScrollModeType: Dc.w 0 ; Type of blit that MSMaskScrolls do. 0=Cookie,1=Erase,2=InvMode,3=SolidMode,4=MColourMode,5,6
  76. DoubleScrollMode:  Dc.b 0 ; Mode that DoubleScrolls use. 0=Paste, <>0=Cut.
  77. DoubleBlitMode:    Dc.b 0 ; Mode that DoubleBlits use. 0=Paste, <>0=Cut.
  78. DoubleQBlitMode:   Dc.b 0 ; Mode that DoubleQBlits use. 0=Paste, <>0=Cut.
  79. _ParticleFormat:   Dc.b 0 ; Format of particle lists and operation to perform. 0=word, <0=quick, >0=address
  80. ;104
  81. ;ChunkyResource structure, 64 bytes (bitmaps and shapes)
  82. ChunkyResources
  83. CRsrc_Width:    Dc.w 0 ;0  Width of the chunky resource in pixels (=bytes)
  84. CRsrc_Height:   Dc.w 0 ;2  Height of the chunky resource in pixels (=lines) Must be positioned directly after Width
  85. CRsrc_LineMod:  Dc.w 0 ;4  Horizontal line modulo - bytes to add at end of line to get to start of next line (usually zero)
  86. CRsrc_Clipping: Dc.b 0 ;6 Clip window active/deactive. 0=Off, <>0=On
  87. CRsrc_Wrapping: Dc.b 0 ;7 X&Y Handle-wrapping active/deactive. 0=Normal, <>0=MemoryWrap (add WrapBytes to base address)
  88. CRsrc_Data:     Dc.l 0 ;8  Pointer to move16-aligned memory containing resource's graphic
  89. CRsrc_Stencil:  Dc.l 0 ;12 Pointer to move16-aligned memory containing resource's stencil/mask/cookie
  90. CRsrc_XHandle:  Dc.w 0 ;16 X-Handle coordinate horizontal offset
  91. CRsrc_YHandle:  Dc.w 0 ;18 Y-Handle coordinate verticle offset
  92. CRsrc_DMem:     Dc.l 0 ;20 Actual base pointer of memory reserved for data (before move16-alignment)
  93. CRsrc_DBytes:   Dc.l 0 ;24 Total number of bytes in the resource's graphic mem (before align)
  94. CRsrc_SMem:     Dc.l 0 ;28 Actual base pointer of memory reserved for stencil (before move16-alignment)
  95. CRsrc_SBytes:   Dc.l 0 ;32 Total number of bytes in the resource's stencil/mask/cookie (before align)
  96. CRsrc_DHere:    Dc.b 0 ;36 Graphic data here. 0=Cludged, <>0=CRsrc_DMem is base address
  97. CRsrc_SHere:    Dc.b 0 ;37 Stencil data here. 0=Cludged, <>0=CRsrc_SMem is base address
  98. CRsrc_ClipLMod: Dc.w 0 ;38 Clip window horizontal line modulo in bytes compared with bitmap width (additional to LineMod)
  99. CRsrc_ClipLeft: Dc.w 0 ;40 Clip window's left-edge X coordinate offset
  100. CRsrc_ClipTop:  Dc.w 0 ;42 Clip window's top-edge Y coordinate offset
  101. CRsrc_ClipWidth:Dc.w 0 ;44 Clip window's width in pixels
  102. CRsrc_ClipHight:Dc.w 0 ;46 Clip window's height in pixels
  103. CRsrc_ClipBytes:Dc.l 0 ;48 Clip window bytes to add to addresses to find topleft corner of clip window
  104. CRsrc_WrapBytes:Dc.l 0 ;52 Handle bytes to add to base addresses to find topleft XHandle,Yhandle offset
  105. CRsrc_TotWidth: Dc.w 0 ;56 Width+LineMod, for faster reading of total byte width
  106. CRsrc_Pad1:     Dc.w 0 ;58
  107. CRsrc_Pad2:     Dc.l 0 ;60
  108. ;168
  109. ChunkyQueuesMem:   Dc.l 0 ; Pointer to where the ChunkyQueue structures are held
  110. ChunkyQueuesTotal: Dc.w 0 ; Number of ChunkyQueue structures
  111. AutoChunkyQueuesUse:  Dc.b 1 ; Automatically use new ChunkyQueues? 0=No, <>0=Yes
  112. ;175
  113. CurrentInks:
  114. CurrentInk1: Dc.b 1 ; Current ink to use in graphics routines, default colour
  115. CurrentInk2: Dc.b 1 ; Second current ink to use
  116. CurrentInk3: Dc.b 1 ; Third current ink to use
  117. ;178
  118. CurrentChunkyQueues:
  119. CurrentChunkyQueue1: Dc.w -1 ; Number of current ChunkyQueue
  120. CurrentChunkyQueue2: Dc.w -1 ; Number of second current ChunkyQueue
  121. CurrentChunkyQueue3: Dc.w -1 ; Number of third current ChunkyQueue
  122. ;184
  123. ;ChunkyQueue structure, 16 bytes
  124. ChunkyQueues
  125. CQueue_LMem:    Dc.l 0 ;0  Pointer to memory used to store the list. 0=Queue doesn't exist
  126. CQueue_LBytes:  Dc.l 0 ;4  Bytes of mem reserved
  127. CQueue_MaxItems:Dc.w 0 ;8  Maximum number of items in the queue
  128. CQueue_Items:   Dc.w 0 ;10 Actual number of items in the queue
  129. CQueue_ItemAddr:Dc.l 0 ;12 Memory address of the current item
  130. ;200
  131. LineLastXpos: Dc.w 0 ;0 X coordinate of the end of the previously drawn line
  132. LineLastYpos: Dc.w 0 ;2 Y coordinate of the end of the previously drawn line
  133. ;204
  134. ChunkyTablesMem:   Dc.l 0 ; Pointer to where the ChunkyTable structures are held
  135. ChunkyTablesTotal: Dc.w 0 ; Number of ChunkyTable structures
  136. AutoChunkyTablesUse:  Dc.b 1 ; Automatically use new ChunkyTables? 0=No, <>0=Yes
  137.   Dc.b 0 ; Spare
  138. ;212
  139. CurrentChunkyTables:
  140. CurrentChunkyTable1: Dc.w -1 ; Number of current ChunkyTable
  141. CurrentChunkyTable2: Dc.w -1 ; Number of second current ChunkyTable
  142. CurrentChunkyTable3: Dc.w -1 ; Number of third current ChunkyTable
  143. ;218
  144. _DrawingModeType:  Dc.w 4 ; Type of operation that drawing ops do. 2=InvMode,4=MColourMode,5=MReMapMode,6=MSimpleReMapMode
  145. ;220
  146. ;ChunkyTable structure, 16 bytes
  147. ChunkyTables
  148. CTable_LMem:    Dc.l 0 ;0  Pointer to memory used to store the list. 0=Table doesn't exist
  149. CTable_LBytes:  Dc.l 0 ;4  Bytes of mem reserved.Also maximum number of items
  150. CTable_Items:   Dc.l 0 ;8  Actual number of items in the table
  151. CTable_ItemAddr:Dc.l 0 ;12 Memory address of the current item
  152. ;236
  153. ChunkyShapeBanks
  154. ;ChunkyShapesMem0:  Dc.l 0 ; ChunkyShapesMem bank 0
  155. ;ChunkyShapesTotal0:Dc.w 0 ; ChunkyShapesTotal bank 0
  156. ;ChunkyShapesPad0:  Dc.w 0 ;
  157.                     Ds.w #NumberOfShapeBanks*8
  158. ;Next is at 492, with 32 shape banks
  159.